package sch.jl.caigou.impl;

import java.text.SimpleDateFormat;
import java.util.Date;

import jiliang.purchase.demo.think_lingxing;
import sch.jl.caigou.dao.checkWAppleDao;

public class checkWAppleImpl extends DaoImpl<think_lingxing> implements checkWAppleDao
{
	private  think_lingxing tl = null;
	@Override
	public think_lingxing getLingXing(String bh){
		String sql = "select sq_id,bh,xiangmumc,lianxiren,shenqingsj,fuzerengh,fuzerenxm,lianxidh,dw_mc,gonghuosj,jingfeimc,jingfeidm,yusuanje,caigoufs,hejije,editsj" +
					" from think_lingxing_sbjj,think_danwei where dw_id = shiyongbm and bh='"+bh+"'";
		tl = new think_lingxing();
		tl = query(sql);
		return tl;
	}


}
